<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: Fixed Point</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Fixed Point<div class="ingroups"><a class="el" href="group__contractdev.html">Smart Contract API Reference</a> &raquo; <a class="el" href="group__mathapi.html">Math API</a> &raquo; <a class="el" href="group__mathcppapi.html">Math C++ API</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>32,64,128,256 bits version of Fixed Point variables  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point32.html">eosio::fixed_point32&lt; Q &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">32 bits representation of Fixed Point class.  <a href="structeosio_1_1fixed__point32.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point64.html">eosio::fixed_point64&lt; Q &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">64 bits representation of Fixed Point class.  <a href="structeosio_1_1fixed__point64.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128&lt; Q &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">128 bits representation of Fixed Point class.  <a href="structeosio_1_1fixed__point128.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga68c90c18b96d6e1789a567b16a7cdf2f"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga68c90c18b96d6e1789a567b16a7cdf2f"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga68c90c18b96d6e1789a567b16a7cdf2f">eosio::assignHelper</a> (T rhs_val, <a class="el" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> q, <a class="el" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> qr)</td></tr>
<tr class="separator:ga68c90c18b96d6e1789a567b16a7cdf2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6d31edb37da483459fb277534d74bbf5"><td class="memTemplParams" colspan="2">template&lt;uint8_t Q&gt; </td></tr>
<tr class="memitem:ga6d31edb37da483459fb277534d74bbf5"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga6d31edb37da483459fb277534d74bbf5">eosio::fixed_divide</a> (<a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> lhs, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> rhs)</td></tr>
<tr class="memdesc:ga6d31edb37da483459fb277534d74bbf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper function for dividing two unit64 variable and stores result in <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a>.  <a href="group__fixedpoint.html#ga6d31edb37da483459fb277534d74bbf5">More...</a><br /></td></tr>
<tr class="separator:ga6d31edb37da483459fb277534d74bbf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga26f98cb47eae52015cd24d3c104fc50d"><td class="memTemplParams" colspan="2">template&lt;uint8_t Q&gt; </td></tr>
<tr class="memitem:ga26f98cb47eae52015cd24d3c104fc50d"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga26f98cb47eae52015cd24d3c104fc50d">eosio::fixed_divide</a> (<a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> lhs, <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> rhs)</td></tr>
<tr class="memdesc:ga26f98cb47eae52015cd24d3c104fc50d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper function for dividing two unit64 variable and stores result in <a class="el" href="structeosio_1_1fixed__point128.html" title="128 bits representation of Fixed Point class. ">fixed_point128</a> Wrapper function for dividing two unit64 variable and stores result in <a class="el" href="structeosio_1_1fixed__point128.html" title="128 bits representation of Fixed Point class. ">fixed_point128</a>.  <a href="group__fixedpoint.html#ga26f98cb47eae52015cd24d3c104fc50d">More...</a><br /></td></tr>
<tr class="separator:ga26f98cb47eae52015cd24d3c104fc50d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a6e26a69471e1d42ca0f6b41b673734"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:ga9a6e26a69471e1d42ca0f6b41b673734"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga9a6e26a69471e1d42ca0f6b41b673734">eosio::fixed_point128&lt; Q &gt;::fixed_point128</a> (const <a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:ga9a6e26a69471e1d42ca0f6b41b673734"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac03c87c2b4a19daf60e5f9c56c4584f0"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:gac03c87c2b4a19daf60e5f9c56c4584f0"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#gac03c87c2b4a19daf60e5f9c56c4584f0">eosio::fixed_point128&lt; Q &gt;::fixed_point128</a> (const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:gac03c87c2b4a19daf60e5f9c56c4584f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab26dee4e941063197fb98f2d71d9c8ce"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:gab26dee4e941063197fb98f2d71d9c8ce"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#gab26dee4e941063197fb98f2d71d9c8ce">eosio::fixed_point128&lt; Q &gt;::fixed_point128</a> (const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:gab26dee4e941063197fb98f2d71d9c8ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0fcb07196ce3b1ee19897d2edd1f362b"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga0fcb07196ce3b1ee19897d2edd1f362b"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga0fcb07196ce3b1ee19897d2edd1f362b">eosio::fixed_point64&lt; Q &gt;::fixed_point64</a> (const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;r)</td></tr>
<tr class="memdesc:ga0fcb07196ce3b1ee19897d2edd1f362b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Can create <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a> instance from int64_t, <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a>,32 instances.  <a href="#ga0fcb07196ce3b1ee19897d2edd1f362b">More...</a><br /></td></tr>
<tr class="separator:ga0fcb07196ce3b1ee19897d2edd1f362b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga02a221576feae394dc006a6f65ba66c2"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga02a221576feae394dc006a6f65ba66c2"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga02a221576feae394dc006a6f65ba66c2">eosio::fixed_point64&lt; Q &gt;::fixed_point64</a> (const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;r)</td></tr>
<tr class="separator:ga02a221576feae394dc006a6f65ba66c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga949ad7f0149535736353c9283797468b"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga949ad7f0149535736353c9283797468b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt;(Q &gt;QR)?Q:QR &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga949ad7f0149535736353c9283797468b">eosio::fixed_point64&lt; Q &gt;::operator+</a> (const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;rhs) const</td></tr>
<tr class="memdesc:ga949ad7f0149535736353c9283797468b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Addition between two <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a> variables and the result goes to <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a>.  <a href="#ga949ad7f0149535736353c9283797468b">More...</a><br /></td></tr>
<tr class="separator:ga949ad7f0149535736353c9283797468b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49301a70e323c7b6fa7e8b4d4cd1cce2"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga49301a70e323c7b6fa7e8b4d4cd1cce2"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt;(Q &gt;QR)?Q:QR &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga49301a70e323c7b6fa7e8b4d4cd1cce2">eosio::fixed_point64&lt; Q &gt;::operator-</a> (const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;rhs) const</td></tr>
<tr class="memdesc:ga49301a70e323c7b6fa7e8b4d4cd1cce2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subtraction between two <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a> variables and the result goes to <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a>.  <a href="#ga49301a70e323c7b6fa7e8b4d4cd1cce2">More...</a><br /></td></tr>
<tr class="separator:ga49301a70e323c7b6fa7e8b4d4cd1cce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf88630db8a6e5f2f026abe4b6fc953dc"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:gaf88630db8a6e5f2f026abe4b6fc953dc"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; Q+QR &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#gaf88630db8a6e5f2f026abe4b6fc953dc">eosio::fixed_point64&lt; Q &gt;::operator*</a> (const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;r) const</td></tr>
<tr class="memdesc:gaf88630db8a6e5f2f026abe4b6fc953dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiplication operator for <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a>. The result goes to <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a>.  <a href="#gaf88630db8a6e5f2f026abe4b6fc953dc">More...</a><br /></td></tr>
<tr class="separator:gaf88630db8a6e5f2f026abe4b6fc953dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga810e2397dd4645ec575430ffd54b5d3f"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga810e2397dd4645ec575430ffd54b5d3f"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; Q+64-QR &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga810e2397dd4645ec575430ffd54b5d3f">eosio::fixed_point64&lt; Q &gt;::operator/</a> (const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;r) const</td></tr>
<tr class="memdesc:ga810e2397dd4645ec575430ffd54b5d3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Division of two <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a> result will be stored in <a class="el" href="structeosio_1_1fixed__point128.html" title="128 bits representation of Fixed Point class. ">fixed_point128</a>.  <a href="#ga810e2397dd4645ec575430ffd54b5d3f">More...</a><br /></td></tr>
<tr class="separator:ga810e2397dd4645ec575430ffd54b5d3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga81c6f339a55c8327935ef972ebdb278d"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga81c6f339a55c8327935ef972ebdb278d"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga81c6f339a55c8327935ef972ebdb278d">eosio::fixed_point32&lt; Q &gt;::fixed_point32</a> (const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;r)</td></tr>
<tr class="separator:ga81c6f339a55c8327935ef972ebdb278d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7ad1f82c49b206575fccf8b736815d7c"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga7ad1f82c49b206575fccf8b736815d7c"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga7ad1f82c49b206575fccf8b736815d7c">eosio::fixed_point32&lt; Q &gt;::fixed_point32</a> (const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;r)</td></tr>
<tr class="separator:ga7ad1f82c49b206575fccf8b736815d7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e9ed1f23b132f0a8c7cca091321807f"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga7e9ed1f23b132f0a8c7cca091321807f"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; Q &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga7e9ed1f23b132f0a8c7cca091321807f">eosio::fixed_point32&lt; Q &gt;::operator=</a> (const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;r)</td></tr>
<tr class="separator:ga7e9ed1f23b132f0a8c7cca091321807f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga346f1bad63f2779ddcfc1fb4bbb533f7"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga346f1bad63f2779ddcfc1fb4bbb533f7"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; Q &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga346f1bad63f2779ddcfc1fb4bbb533f7">eosio::fixed_point32&lt; Q &gt;::operator=</a> (const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;r)</td></tr>
<tr class="separator:ga346f1bad63f2779ddcfc1fb4bbb533f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6eefa850d217b820020e76752abfc3eb"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga6eefa850d217b820020e76752abfc3eb"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt;(Q &gt;QR)?Q:QR &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga6eefa850d217b820020e76752abfc3eb">eosio::fixed_point32&lt; Q &gt;::operator+</a> (const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;rhs) const</td></tr>
<tr class="memdesc:ga6eefa850d217b820020e76752abfc3eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Addition between two <a class="el" href="structeosio_1_1fixed__point32.html" title="32 bits representation of Fixed Point class. ">fixed_point32</a> variables and the result goes to <a class="el" href="structeosio_1_1fixed__point32.html" title="32 bits representation of Fixed Point class. ">fixed_point32</a>.  <a href="#ga6eefa850d217b820020e76752abfc3eb">More...</a><br /></td></tr>
<tr class="separator:ga6eefa850d217b820020e76752abfc3eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2c2084d8e4a80f4e75346174b23e78aa"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga2c2084d8e4a80f4e75346174b23e78aa"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt;(Q &gt;QR)?Q:QR &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga2c2084d8e4a80f4e75346174b23e78aa">eosio::fixed_point32&lt; Q &gt;::operator-</a> (const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;rhs) const</td></tr>
<tr class="memdesc:ga2c2084d8e4a80f4e75346174b23e78aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subtraction between two <a class="el" href="structeosio_1_1fixed__point32.html" title="32 bits representation of Fixed Point class. ">fixed_point32</a> variables and the result goes to <a class="el" href="structeosio_1_1fixed__point32.html" title="32 bits representation of Fixed Point class. ">fixed_point32</a>.  <a href="#ga2c2084d8e4a80f4e75346174b23e78aa">More...</a><br /></td></tr>
<tr class="separator:ga2c2084d8e4a80f4e75346174b23e78aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e18faa394f294b64783e6b46b5d88d6"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:ga6e18faa394f294b64783e6b46b5d88d6"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; Q+QR &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga6e18faa394f294b64783e6b46b5d88d6">eosio::fixed_point32&lt; Q &gt;::operator*</a> (const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;r) const</td></tr>
<tr class="memdesc:ga6e18faa394f294b64783e6b46b5d88d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiplication operator for <a class="el" href="structeosio_1_1fixed__point32.html" title="32 bits representation of Fixed Point class. ">fixed_point32</a>. The result goes to <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a>.  <a href="#ga6e18faa394f294b64783e6b46b5d88d6">More...</a><br /></td></tr>
<tr class="separator:ga6e18faa394f294b64783e6b46b5d88d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabeb73cfe2cf17016a4ad843f3a8a229c"><td class="memTemplParams" colspan="2">template&lt;uint8_t QR&gt; </td></tr>
<tr class="memitem:gabeb73cfe2cf17016a4ad843f3a8a229c"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; Q+32-QR &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#gabeb73cfe2cf17016a4ad843f3a8a229c">eosio::fixed_point32&lt; Q &gt;::operator/</a> (const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;r) const</td></tr>
<tr class="memdesc:gabeb73cfe2cf17016a4ad843f3a8a229c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Division of two <a class="el" href="structeosio_1_1fixed__point32.html" title="32 bits representation of Fixed Point class. ">fixed_point32</a> result will be stored in <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a>.  <a href="#gabeb73cfe2cf17016a4ad843f3a8a229c">More...</a><br /></td></tr>
<tr class="separator:gabeb73cfe2cf17016a4ad843f3a8a229c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Floating point operations are indeterministic, hence is prevented in smart contract. The smart contract developers should use the appropriate Fixed_Point template class by passing the number to be represented in integer format and the number of decimals required. These template classes also support the arithmetic operations and basic comparison operators </p>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga68c90c18b96d6e1789a567b16a7cdf2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga68c90c18b96d6e1789a567b16a7cdf2f">&#9670;&nbsp;</a></span>assignHelper()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T eosio::assignHelper </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>rhs_val</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
          <td class="paramname"><em>q</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
          <td class="paramname"><em>qr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga6d31edb37da483459fb277534d74bbf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6d31edb37da483459fb277534d74bbf5">&#9670;&nbsp;</a></span>fixed_divide() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt;Q&gt; eosio::fixed_divide </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Wrapper function for dividing two unit32 variable and stores result in <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a></p>
<p>Example: </p><div class="fragment"><div class="line">fixed_point64&lt;33&gt; result = <a class="code" href="group__fixedpoint.html#ga6d31edb37da483459fb277534d74bbf5">fixed_divide</a>(131313, 2323)</div></div><!-- fragment --> 
</div>
</div>
<a id="ga26f98cb47eae52015cd24d3c104fc50d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga26f98cb47eae52015cd24d3c104fc50d">&#9670;&nbsp;</a></span>fixed_divide() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt;Q&gt; eosio::fixed_divide </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Example: </p><div class="fragment"><div class="line">fixed_point128&lt;33&gt; result = <a class="code" href="group__fixedpoint.html#ga6d31edb37da483459fb277534d74bbf5">fixed_divide</a>(131313, 2323)</div></div><!-- fragment --> 
</div>
</div>
<a id="ga9a6e26a69471e1d42ca0f6b41b673734"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9a6e26a69471e1d42ca0f6b41b673734">&#9670;&nbsp;</a></span>fixed_point128() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::<a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gac03c87c2b4a19daf60e5f9c56c4584f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac03c87c2b4a19daf60e5f9c56c4584f0">&#9670;&nbsp;</a></span>fixed_point128() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::<a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gab26dee4e941063197fb98f2d71d9c8ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab26dee4e941063197fb98f2d71d9c8ce">&#9670;&nbsp;</a></span>fixed_point128() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::<a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga81c6f339a55c8327935ef972ebdb278d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga81c6f339a55c8327935ef972ebdb278d">&#9670;&nbsp;</a></span>fixed_point32() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point32.html">eosio::fixed_point32</a>&lt; Q &gt;::<a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga7ad1f82c49b206575fccf8b736815d7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7ad1f82c49b206575fccf8b736815d7c">&#9670;&nbsp;</a></span>fixed_point32() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point32.html">eosio::fixed_point32</a>&lt; Q &gt;::<a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga0fcb07196ce3b1ee19897d2edd1f362b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0fcb07196ce3b1ee19897d2edd1f362b">&#9670;&nbsp;</a></span>fixed_point64() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point64.html">eosio::fixed_point64</a>&lt; Q &gt;::<a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Various constructors for <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a> Example: </p><div class="fragment"><div class="line">fixed_point32&lt;18&gt; a(1234.455667);</div><div class="line">fixed_point64&lt;3&gt; b(a);</div><div class="line">fixed_point64&lt;6&gt; b(13324.32323);</div><div class="line">fixed_point64&lt;5&gt; c(a);</div></div><!-- fragment --> 
</div>
</div>
<a id="ga02a221576feae394dc006a6f65ba66c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga02a221576feae394dc006a6f65ba66c2">&#9670;&nbsp;</a></span>fixed_point64() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point64.html">eosio::fixed_point64</a>&lt; Q &gt;::<a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gaf88630db8a6e5f2f026abe4b6fc953dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf88630db8a6e5f2f026abe4b6fc953dc">&#9670;&nbsp;</a></span>operator*() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; Q+QR &gt; <a class="el" href="structeosio_1_1fixed__point64.html">eosio::fixed_point64</a>&lt; Q &gt;::operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Multiplication operator for <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a>. The result goes to <a class="el" href="structeosio_1_1fixed__point128.html" title="128 bits representation of Fixed Point class. ">fixed_point128</a> Number of decimal on result will be sum of number of decimals of lhs and rhs</p>
<p>Example: </p><div class="fragment"><div class="line">fixed_point128&lt;33&gt; result = fixed_point64&lt;0&gt;(131313) / fixed_point64&lt;0&gt;(2323)</div></div><!-- fragment --> 
</div>
</div>
<a id="ga6e18faa394f294b64783e6b46b5d88d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6e18faa394f294b64783e6b46b5d88d6">&#9670;&nbsp;</a></span>operator*() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; Q+QR &gt; <a class="el" href="structeosio_1_1fixed__point32.html">eosio::fixed_point32</a>&lt; Q &gt;::operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Multiplication operator for <a class="el" href="structeosio_1_1fixed__point32.html" title="32 bits representation of Fixed Point class. ">fixed_point32</a>. The result goes to <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a> Number of decimal on result will be sum of number of decimals of lhs and rhs</p>
<p>Example: </p><div class="fragment"><div class="line">fixed_point64&lt;33&gt; result = fixed_point32&lt;0&gt;(131313) / fixed_point32&lt;0&gt;(2323)</div></div><!-- fragment --> 
</div>
</div>
<a id="ga949ad7f0149535736353c9283797468b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga949ad7f0149535736353c9283797468b">&#9670;&nbsp;</a></span>operator+() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; (Q&gt;QR)?Q:QR &gt; <a class="el" href="structeosio_1_1fixed__point64.html">eosio::fixed_point64</a>&lt; Q &gt;::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Addition between two <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a> variables Number of decimal on result will be max of decimals of lhs and rhs </p>

</div>
</div>
<a id="ga6eefa850d217b820020e76752abfc3eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6eefa850d217b820020e76752abfc3eb">&#9670;&nbsp;</a></span>operator+() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; (Q&gt;QR)?Q:QR &gt; <a class="el" href="structeosio_1_1fixed__point32.html">eosio::fixed_point32</a>&lt; Q &gt;::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Addition between two <a class="el" href="structeosio_1_1fixed__point32.html" title="32 bits representation of Fixed Point class. ">fixed_point32</a> variables Number of decimal on result will be max of decimals of lhs and rhs </p>

</div>
</div>
<a id="ga49301a70e323c7b6fa7e8b4d4cd1cce2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga49301a70e323c7b6fa7e8b4d4cd1cce2">&#9670;&nbsp;</a></span>operator-() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; (Q&gt;QR)?Q:QR &gt; <a class="el" href="structeosio_1_1fixed__point64.html">eosio::fixed_point64</a>&lt; Q &gt;::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Subtraction between two <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a> variables Number of decimal on result will be max of decimals of lhs and rhs </p>

</div>
</div>
<a id="ga2c2084d8e4a80f4e75346174b23e78aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2c2084d8e4a80f4e75346174b23e78aa">&#9670;&nbsp;</a></span>operator-() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; (Q&gt;QR)?Q:QR &gt; <a class="el" href="structeosio_1_1fixed__point32.html">eosio::fixed_point32</a>&lt; Q &gt;::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Subtraction between two <a class="el" href="structeosio_1_1fixed__point32.html" title="32 bits representation of Fixed Point class. ">fixed_point32</a> variables Number of decimal on result will be max of decimals of lhs and rhs </p>

</div>
</div>
<a id="ga810e2397dd4645ec575430ffd54b5d3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga810e2397dd4645ec575430ffd54b5d3f">&#9670;&nbsp;</a></span>operator/() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; Q+64-QR &gt; <a class="el" href="structeosio_1_1fixed__point64.html">eosio::fixed_point64</a>&lt; Q &gt;::operator/ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Division operator for <a class="el" href="structeosio_1_1fixed__point64.html" title="64 bits representation of Fixed Point class. ">fixed_point64</a></p>
<p>Example: </p><div class="fragment"><div class="line">fixed_point128&lt;33&gt; result = fixed_point64&lt;0&gt;(131313) / fixed_point64&lt;0&gt;(2323)</div></div><!-- fragment --> 
</div>
</div>
<a id="gabeb73cfe2cf17016a4ad843f3a8a229c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabeb73cfe2cf17016a4ad843f3a8a229c">&#9670;&nbsp;</a></span>operator/() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; Q+32-QR &gt; <a class="el" href="structeosio_1_1fixed__point32.html">eosio::fixed_point32</a>&lt; Q &gt;::operator/ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Division operator for <a class="el" href="structeosio_1_1fixed__point32.html" title="32 bits representation of Fixed Point class. ">fixed_point32</a></p>
<p>Example: </p><div class="fragment"><div class="line">fixed_point64&lt;33&gt; result = fixed_point32&lt;0&gt;(131313) / fixed_point32&lt;0&gt;(2323)</div></div><!-- fragment --> 
</div>
</div>
<a id="ga7e9ed1f23b132f0a8c7cca091321807f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7e9ed1f23b132f0a8c7cca091321807f">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt;Q&gt;&amp; <a class="el" href="structeosio_1_1fixed__point32.html">eosio::fixed_point32</a>&lt; Q &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga346f1bad63f2779ddcfc1fb4bbb533f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga346f1bad63f2779ddcfc1fb4bbb533f7">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t QR&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt;Q&gt;&amp; <a class="el" href="structeosio_1_1fixed__point32.html">eosio::fixed_point32</a>&lt; Q &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; QR &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
